package com.wwwarehouse.contract.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 *  购物车Bean
 * Created by ShineF on 2017/10/25 0025.
 */

public class PlaceOrdersAddShoppingCartBean implements Parcelable {


    /**
     * cartItemUkid : 32127600000005020
     * itemCount : 1
     */

    private long cartItemUkid;
    private int itemCount;

    public long getCartItemUkid() {
        return cartItemUkid;
    }

    public void setCartItemUkid(long cartItemUkid) {
        this.cartItemUkid = cartItemUkid;
    }

    public int getItemCount() {
        return itemCount;
    }

    public void setItemCount(int itemCount) {
        this.itemCount = itemCount;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(this.cartItemUkid);
        dest.writeInt(this.itemCount);
    }

    public PlaceOrdersAddShoppingCartBean() {
    }

    protected PlaceOrdersAddShoppingCartBean(Parcel in) {
        this.cartItemUkid = in.readLong();
        this.itemCount = in.readInt();
    }

    public static final Parcelable.Creator<PlaceOrdersAddShoppingCartBean> CREATOR = new Parcelable.Creator<PlaceOrdersAddShoppingCartBean>() {
        @Override
        public PlaceOrdersAddShoppingCartBean createFromParcel(Parcel source) {
            return new PlaceOrdersAddShoppingCartBean(source);
        }

        @Override
        public PlaceOrdersAddShoppingCartBean[] newArray(int size) {
            return new PlaceOrdersAddShoppingCartBean[size];
        }
    };
}
